/*
* 位置：page
* */

import http from "../http";
// 新增
const pageAdd = (params) => http ({ method: 'post',  url: '/behavior/page/add', data: params});
// 修改
const pageUpdate = (params) => http ({ method: 'post',  url: '/behavior/page/update', data: params});
// 列表
const pageList = (params) => http ({ method: 'post',  url: '/behavior/page/list', data: params});
// 详情
const pageQuery = (params) => http ({ method: 'post',  url: '/behavior/page/query', data: params});
// 位置操作处理
const pageStatusOperate = (params) => http ({ method: 'post',  url: '/behavior/page/status/operate', data: params});
// 删除
const pageDelete = (params) => http ({ method: 'post',  url: '/behavior/page/delete', data: params});
// 位置导航
const pageNavigate = (params) => http ({ method: 'post',  url: '/behavior/page/navigate', data: params});

const pageApi = {
    pageAdd,
    pageUpdate,
    pageList,
    pageQuery,
    pageDelete,
    pageNavigate,
    pageStatusOperate
}
export default pageApi;
